﻿using System;
using NUnit.Framework;
using Selenium;

namespace time
{

    [TestFixture]
    public class vancl1
    {


        [SetUp]
        public void SetupTest()
        {
            Console.Write("start");
            //error = new StringBuiler();
        }

        [TearDown]
        public void TeardownTest()
        {
            try
            {
                Console.Write("stop");
            }
            catch (Exception)
            {

            }

        }


        [Test]
        public void login()
        {
            Selenium.ISelenium selenium = new DefaultSelenium("localhost", 4444, "*chrome", "https://login.vancl.com/Login/Login.aspx");
            selenium.Start();
            selenium.Open("https://login.vancl.com/Login/Login.aspx");

            System.Threading.Thread.Sleep(2000);
        }
    }
}
